package com.store.service;

import com.store.dto.request.CategoryRequest;
import com.store.entity.Category;
import java.util.List;

public interface CategoryService {
    Category findById2(Long id);
    Category create2(CategoryRequest request);

    List<Category> getList(Integer page, Integer pageSize, String keyword);
    Category findById(Long id);
    Category create(CategoryRequest request);
    Category update(Long id, CategoryRequest request);
    void delete(Long id);
    List<Category> getAll();
} 